const mongoose = require('mongoose')

const Carousel = new mongoose.Schema({
  gid: {
    type: mongoose.ObjectId,
    required: true
  },
  img: {
    type: String,
    required: true
  },
  zhTitle: {
    type: String,
    required: true
  },
  enTitle: {
    type: String,
    required: true
  }
})

module.exports = mongoose.model('carousels', Carousel)
